package com.cmc.cloud.cmclink.doc.api.document.rep.manifestrep.manifestcntr;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 舱单箱信息更新 Request VO
 *
 * @author chenzheng
 */
@Schema(description = "管理后台 - 舱单箱信息更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ManifestCntrLbsUpdateReqVO extends ManifestCntrBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16073")
    private Long id;

    @Schema(description = "VGM箱总重")
    private BigDecimal vgmWeight;

    @Schema(description = "VGM称重方式")
    @Length(max = 3, message = "{blnocntr.vgmtypecode.length}")
    private String vgmTypeCode;

    @Schema(description = "VGM称重地点")
    @Length(max = 100, message = "{blnocntr.vgmaddress.length}")
    private String vgmAddress;

    @Schema(description = "VGM称重时间")
    private String vgmTime;

    @Schema(description = "VGM验证签名")
    @Length(max = 100, message = "{blnocntr.vgmsignature.length}")
    private String vgmSignature;
}
